Skip to content

localhost is also a secure origin by browsers#309

Open
segevfiner wants to merge 2 commits into
fastify:mainfrom
segevfiner:localhost-secure
Open

localhost is also a secure origin by browsers#309
segevfiner wants to merge 2 commits into
fastify:mainfrom
segevfiner:localhost-secure

Conversation

@segevfiner

@segevfiner segevfiner commented Aug 7, 2025

Copy link
Copy Markdown

Also partitioned cookies are only allowed with secure, so in secure: 'auto' also set partitioned to false

Checklist

@ilteoood

Copy link
Copy Markdown

hey @segevfiner , are you planning to continue on this one?

@segevfiner

Copy link
Copy Markdown
Author

Need to merge/rebase and see if I can figure out the tests bit. I don't remember what didn't work for me with the tests when I originally tried doing this.

Also partitioned cookies are only allowed with secure, so in `secure: 'auto'` also set partitioned to false

@Eomm Eomm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking to review it

@Eomm Eomm self-requested a review November 26, 2025 17:23

@segevfiner segevfiner left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried to fix that tests. Seems there was an implicit assumption about localhost being insecure in some of the tests, so I tried to work around that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants